package inabit.inabitcompiler.productions.constant;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;

/**C' -> CC'*/
/**@author Rafael Rocha*/
public class C1_Rule extends Production{
	private NonTerminal C;
	private NonTerminal C1;
	
	public C1_Rule(){
		super("C'");
	}

	@Override
	protected Symbol[] production(NonTerminal nonTerminal) {
		C = new NonTerminal("C");
		C1 = new NonTerminal("C'");
		Symbol[] symbols = {
				C,
				C1
		};
		return symbols;
	}
}
